home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freaks Macintosh Archive
/
Freaks Macintosh Archive.bin
/
Freaks Macintosh Archives
/
Ham⁄GPS
/
IP Folder
/
HAMradio TCP⁄IP
/
autoexec.net
< prev
next >
Wrap
Text File
|
1994-09-06
|
11KB
|
307 lines
#$realtime 100
#$debug on
#
# If you don't want this autoexec.net file to be sent to the screen
# each time you startup NET/Mac, then remove the very 1st line, or
# change it to something like: ##$debug on
#
# -------------------------------------------------------------------
#
# Macintosh-specific "autoexec.net" configurationfile for NET/Mac
# version 2.3.X - refer to version.c file and NET/Mac's online HELP
# (APPLE-menu -> HELP) for additional commands and information.
#
# When installing TCP for your node, be sure to replace all
# occurrences of YOURCALL here with your callsign and all
# occurrences of IPADDRESS with the IP address that was
# assigned to you by your local IP Address Coordinator.
# (You MUST have a distinct personal IP address for every
# station you put on the air; if you don't know what this
# means, ask others who are active on TCP how to get one.)
#
# hostname - is the name of your station as listed in the hosts.net
# distributed by your local coordinator. Usually it is your callsign
# but may be any name you like, as long as your coordinator approves
# it. Contact him for details. For now, use your callsign.
#
# define your hostname to be 'YOURCALL.ampr.org' or just 'YOURCALL'
# depending on the way it is registered in the hosts.net file
#
hostname YOURCALL
#
# ax25 mycall - callsign that is used in the ax25 packet header.
# replace 'YOURCALL' below with your callsign.
#
ax25 mycall YOURCALL
#
# Path to the Hosts.Net file - It could reside on another volume, or
# be buried in another folder. Also the file can now be named what-
# ever you desire. Note that double quotes are required if there are
# any space characters in the path name, otherwise they are not needed.
#
hostfile "HD:Net:Hosts.net"
#
# Attach AppleTalk:
# The following describes the parameters for the AppleTalk driver.
# Beginning with version 2.3.14, the AppleTalk driver will now support
# DDP instead of just LAP. This means you can use other programs to
# talk to Net/Mac over an Appletalk network.
#
# attach argv[0] argv[1] argv[2] argv[3] argv[4] argv[5] argv[6]
#
# argv[0]: hardware type, must be "appletalk"
# argv[1]: Protocol Type, e.g., "77"
# argv[2]: device name, must be "b" ('a' is the modem port 'b' is the
# printer port)
# argv[3]: mode, must be "arpa"
# argv[4]: interface label, e.g., "at0"
# argv[5]: maximum number of packets allowed on receive queue, e.g., "1"
# argv[6]: maximum transmission unit, bytes, e.g., "586" < appletalk limitation.
#
# DO NOT CHANGE argv[5] or argv[6] IN THIS COMMAND LINE otherwise the Appletalk
# interface won't work. If you wish to use Appletalk, remove the '#' character
# in front of the command line below.
#
#attach appletalk 77 b arpa at0 1 586
#
# Attach interfaces:
# Syntax for a Macintosh using the modem port for AX25:
# attach <hw type> <not used but needs to be here>
# <string version of the port ('a' or 'b')>
# <mode> <label> <bufsize> <mtu> <speed>
#
# The following typical attach command for the Mac says that you
# will use an asynchronous port, specifically port 'a' (modem
# port), talking to an "ax25" (i.e. KISS-based) TNC. The name you
# will use when running TCP to refer to this port is "ax0". You
# allow a maximum of 2048 bytes of buffer; packets are no more
# than 256 bytes long. You talk to the port at 9600 bps.
#
attach asy 1 a ax25 ax0 2048 256 9600
#
# The following attach command is for a slip connection (via a modem, etc.)
# The parameters are:
#
#attach asy 2 a slip sl0 8092 1152 19200
#
# Insert your personal 'hostname' as in your hosts.net-file or your IP address
# in []'s:
# Choose one of the 3 lines below
#
ip addr YOURCALL
#ip addr YOURCALL.ampr.org
#ip addr [your IP-number]
#
# The following lines define the route packets should take from your station.
# The syntax is route <add|drop> <station|IPaddress> <interface> <ahost>
# The line below specifies that all packet whos address begins with 44
# (upper 8 bits) will be routed thru the ax0 interface.
# Contact your local IP coordinator (or a local TCP/IP-using ham) for
# additional help in defining the route table.
#
route add [44.0.0.0]/8 ax0
#
# The next five line are the KISS commands used to control the KISS mode
# of your TNC.
#
# The format is: param <label> <hex value> <hex value> ...
#
# Parameter 1 is TXDELAY (*10 ms)(50 = 500ms)
# Parameter 2 is PPersistance
# Parameter 3 is Slot Time (*10 ms)
# Parameter 4 is TXTAIL (*10 ms)
# Parameter 5 is Half or Full Duplex (0=Half, 1=Full)
# Parameter 6 is TNC dependent - refer to your TNC manual for info.
#
param ax0 1 50
param ax0 2 100
param ax0 3 10
param ax0 4 3
param ax0 5 0
#
# Time To Live is the maximum number of hops a packet can take
# before it is thrown away. This command prevents an infinite
# loop from occuring with packets in the network.
#
ip ttl 16
#
# The Maximum Segment Size is the largest single transmission that
# you will send. An mss of 216 corresponds to the mtu of 256 set
# up in the attach command above, overhead bytes considered.
#
tcp mss 216
#
# The Window parameter establishes the maximum number of bytes
# that may be outstanding before your system expects an ack. If
# window is twice as big as mss, for example, there will be two
# active packets on the channel at any given time... large values
# of window provide improved throughput on full-duplex links, but
# are a problem on the air. Keep mss <= window <= 2*mss if
# you're on the air.
#
tcp window 432
#
# set round trip time to 5 seconds - the original documentation states
# this value as seconds, where it should be milliseconds!
#
tcp irtt 5000
#
# Maximum ReTry Timer (in milliseconds). When a link goes down or a path
# is unreliable, this command sets the upper limit on the retry timer.
# Don't set this timer to a (too) low value, because you may introduce a
# lot of retries for a down link, which means a lot of unnecessary traffic
# on the frequency. 900000 (15 Min) is the lowest recommended. The default
# is 60 minutes, which works out fine for most areas.
#
tcp mrtt 3600000
#
# Tell TCP where to keep a log file - note the leading ':' character.
# The current directory prefix will be appended to the front of this entry.
# overwrite specifies that the existing logfile will be overwritten each time
# you startup Net/Mac. 0 0 24 75 specifies where the window/size should be
# created on your screen (0,0 starting coordinate, 24 lines by 75 columns)
#
log :spool:logs:log overwrite 0 0 24 75
#
#
# Tell TCP to start up each of its daemons:
start telnet
start ftp
start smtp
start echo
start discard
start finger
#
# smtp timer below sets the amount of time between attempts to send
# messages in the queue. The value of 180 (seconds) sets it to every 3 min.
# Three minutes is a good number if your station is up 24hrs/day.
# If not, adjust to more like 10 minutes (600 seconds)
#
smtp timer 600
#
# deliver mail for strangers at a nearby gateway to another area or maybe
# even a gateway to the internet. In theis example we use 'pi8hvh'
#
smtp gateway pi8hvh
#
smtp mode route
#
# Set the escape character - this is required for the Mac 512/Plus
# keyboards. Remove the '#' character if you have a 512/Plus. If
# you have an ADB keyboard, leave this command commented out.
#
#escape `
#
# Set the local timezone and offset to GMT (1st format) or let NET/Mac
# figure out the offset. The (commented out) 2nd format defines MET timezone
# and the offset comes from the MAP Control Panel.
#
tzone PST 0
# tzone MET
#
# Setup mailbox function for AX25 connects (y=yes n=no)
#
mbox y
#
#
# The following command is optional, and allows you to provide a
# callsign lookup function if you have the Buckmaster CD-ROM datafile.
# There are two or three parameters. The first is the path to the data file,
# the second is the path to a logging file and the optional third parameter
# informs NET/Mac if or not the database is encoded.
#
#callbk CD-NAME:HAM0:HAMCALL.ALL;1 :spool:logs:callbook_log encoded
#
# The following commands turn on the beacon function.
# The first command set which port to beacon on. The second line of this
# command is the callsign to beacon to (QST is everyone). Do NOT change
# 'callsign' to your callsign. The third line is the actual beacon message
# followed by the beacon interval in seconds, and finally the last command
# turns on the beacon.
#
beacon set ax0
beacon callsign QST
beacon message "TCP/IP Host [44.xxx.yyy.zzz]; - Yourtown, ST, USA"
beacon interval 1200
beacon enable
#
# Enable the Proxy ARP facility. This function allows for automatic
# digipeating (so to speak) between several stations without having
# to explicidly adding arp entries.
#
is_es enable
#
# enable IP Heard command. Keeps a running list of stations heard on
# the channel. Typing IP H at the net> prompt will display the last 20 or
# so stations that have been heard. You may also us AX25 H to see the last
# 20 ax25 stations.
# Due to the way NET/Mac was written IP HEARD will only be updated when
# the TRACE-facility is set to ON.
#
ip heard on
#
# The next entry set the default arp address. You may add additional arp
# entries as needed.
#
arp add [44.4.0.0] ax0 QST-0
#
# AX.25 CONFIGURATION:
# The values in the following entries reflect default values.
# These values come into play when you are operating in the AX.25
# mode, along with your "ax25 mycall" entry above.
#
# Enable/Disable AX.25 digipeating
#
ax25 digipeat on
#
# Set the max number of frames allowed to remain unacknowledged--
# cannot be greater than 7, and 2 is a good number:
#
ax25 maxframe 2
#
# Maximum ax25 packet length:
#
ax25 paclen 256
#
# pthresh ????
#
ax25 pthresh 64
#
# Limit the number of unsuccessful retransmissions:
#
ax25 retry 5
#
# Set the number of bytes that can be pending on an AX.25 receive
# queue:
#
ax25 window 4096
#
# frack (in milliseconds)
ax25 t1 15000
# resptime (in milliseconds)
ax25 t2 10000
# check (in milliseconds)
ax25 t3 180000
#
# Turn on the heard tracking (ax25 heard command). This command is tells
# the system to keep track of the last 30 or so ax25 callsigns that have
# been heard by your station. This is usefull is seeing who you can hear.
#
ax25 heard on
#
# define default console window location and size. 0 0 13 80 means to start the
# window in the upper left corner (0,0), make it 13 lines down, and 80 columns
# wide.
#
console 0 0 13 80
#
realtime on
#
addmenu "tcp extended\m"
addmenu "tcp status\m"
addmenu "-seperator1"
addmenu "ax heard\m"
addmenu "-seperator2"
addmenu exit
# End of Autoexec.net